package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.dto.TagProducer;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.MctGrowAndIntegralSumDto;
import com.ttg.model.dto.VipDetailDto;
import com.ttg.model.pojo.VipGrowDetail;
import com.ttg.model.vo.VipBindAccountDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VipGrowDetailMapper extends BaseMapper<VipGrowDetail> {
    List<VipBindAccountDetailVO> selectVipBindAccountDetail(VipDetailDto vipDetailDto);

    BasePage<VipBindAccountDetailVO> selectVipBindAccountDetailPage(BasePage<VipBindAccountDetailVO> basePage, @Param("reqDto") VipDetailDto vipDetailDto);

    int sumMctGrowAndIntegral(@Param("reqDto") MctGrowAndIntegralSumDto reqDto, @Param("tagProducer") TagProducer tagProducer);

    int sumVipGrowAndIntegral(@Param("reqDto") MctGrowAndIntegralSumDto reqDto, @Param("tagProducer") TagProducer tagProducer);
}
